import Vue from "vue"

import app from "./app.vue";
import VueRouter from "vue-router"
import VueResource from "vue-resource"
Vue.use(VueRouter)
Vue.use(VueResource)
import router from "./router.js"
// import { Header,Swipe,SwipeItem,Button,Lazyload} from 'mint-ui'
// Vue.use(Lazyload);
// Vue.component(Header.name, Header);
// Vue.component(Swipe.name, Swipe);
// Vue.component(SwipeItem.name, SwipeItem);
// Vue.component(Button.name, Button);
import MintUI from "mint-ui";
Vue.use(MintUI);
import "mint-ui/lib/style.css"
Vue.http.options.root = 'http://vue.studyit.io'
Vue.http.options.emulateJSON = true
import "./lib/mui/css/mui.min.css"
import "./lib/mui/css/icons-extra.css"
import "./filter";
import VuePreview from 'vue-preview'
Vue.use(VuePreview)
var vm =new Vue({
el:"#app",
render:c=>c(app),
router
})